
var mysql = require('mysql');     //引入mysql模块

var  db = mysql.createPool({      //创建mysql实例
    host: '192.168.150.119',
    user: 'root',
    password : '123456',
    database:'study_mysql'
});

module.exports = db